<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>后台管理系统</title>
    <link rel="icon" href="/img/logo.png" type="image/x-icon"/>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/script/jquery-3.3.1.min.js"></script>
    <script src="/script/wangEditor.js"></script>
    <script src="/layui/layui.js"></script>
    <script src="/script/admin/project/part/create.js"></script>
    <script src="/script/admin/common.js"></script>
    <style>
    </style>
</head>
<input type="hidden" id="spiderId" th:value="${id}">
    <form class="layui-form" id="form" >
        <div class="layui-form-item">
            <label class="layui-form-label">标题:</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="title" lay-verify="required" id="title" th:value="${title}" autocomplete="off"  placeholder="请输入标题" class="layui-input">
            </div>
            <span class="layui-btn-normal layui-btn"  onclick="getKeyword()">联想</span>
            <span class="layui-btn-normal layui-btn"  onclick="toBaiduInex()">百度指数</span>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">关键字</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="keyword" id="keyword" autocomplete="off"  placeholder="请输入关键字"  class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">是否草稿</label>
            <div class="layui-input-block layui-col-md5">
                <input type="radio" name="isTemp" value="1" title="是" >
                <input type="radio" name="isTemp" value="0" title="否" checked="">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">前文:</label>
            <div class="layui-input-block layui-col-md12">
                <div  >
                    <div id="preContent" class="demo-transfer layui-input-block layui-col-md10"></div>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">任务软文:</label>
            <div class="layui-input-block layui-col-md12">
                <div  >
                    <div id="taskAdvertContent" class="demo-transfer layui-input-block layui-col-md10"></div>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">游戏软文:</label>
            <div class="layui-input-block layui-col-md12">
                <div  >
                    <div id="gameAdvertContent" class="demo-transfer layui-input-block layui-col-md10"></div>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">文末:</label>
            <div class="layui-input-block layui-col-md12">
                <div  >
                    <div id="endContent" class="demo-transfer layui-input-block layui-col-md10"></div>
                </div>
            </div>
        </div>

        <div class="layui-col-md12" lay-verify="content" id="addEdit" name="content"></div>

        <div class="layui-form-item layui-col-md-offset1" style="margin-bottom: 25px;">
            <a class="layui-btn" id="create" >生成</a>
        </div>
        <div class="layui-form-item layui-col-md-offset1" style="margin-bottom: 25px;">
            <div class="layui-btn" id="submit" lay-filter="form" lay-submit>保存</div>
        </div>


    </form>
</body>
</html>